home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / misc-part2 / 12990 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.2 KB

  1. Path: mindlink.bc.ca!a218
  2. From: Charlie_Gibbs@mindlink.bc.ca (Charlie Gibbs)
  3. Newsgroups: comp.sys.amiga.misc
  4. Subject: Re: program not an object module?
  5. Date: Wed, 17 Apr 96 12:31:33 -0800
  6. Organization: MIND LINK! - British Columbia, Canada
  7. Distribution: world
  8. Message-ID: <84959-829769493@mindlink.bc.ca>
  9. NNTP-Posting-Host: mindlink.net
  10.  
  11. In article <koehler-1704961127180001@lem.iam.uni-bonn.de>
  12. koehler@rhein.iam.uni-bonn.de (Kai Koehler) writes:
  13.  
  14. >I want to grab programs for my old Amiga 2000 from the net using my
  15. >PowerMac. But when I try to start the programs on the Amiga, I always
  16. >get an error message  121: "File is not an object module". This happens
  17. >even with lha_e138.run. The Amiga has a rather old hardware & software,
  18. >system 1.2 version 33.
  19.  
  20. This is the standard error message when an executable file has been
  21. corrupted.
  22.  
  23. >Maybe the problem is caused by the way how I transport the programs
  24. >to the Amiga: I store them (decompressed) on a PC disk with the Mac,
  25. >then I use a drive connected to the Janus PC card of the Amiga and the
  26. >AWRITE command of the Janus card to write them to the Amiga's harddisk.
  27. >I do not really believe that I lose or disturb data during this
  28. >transport, as the custom icons of the programs appear the proper
  29. >way; also, I was able to transport graphics without problems.
  30. >
  31. >Does anybody has any idea what I'm doing wrong? Any help is much
  32. >appreciated!
  33.  
  34. I don't know much about the Mac side, but are you using the /b switch
  35. with AWRITE?  If not, the file will get horribly mangled by the
  36. end-of-line translation between MS-DOS and Amiga files.
  37.  
  38. A similar corruption will occur during FTP transfers if you don't
  39. ensure that you're in binary mode.  Use the "binary" command to FTP
  40. if necessary.
  41.  
  42. Perhaps a similar corruption occurs within the Mac.
  43.  
  44. Generally, if the file gets corrupted by text/binary conversion,
  45. its size will change. Compare the size of the file on the net with
  46. the sizes on the MS-DOS disk and on the Amiga.  They should all be
  47. the same.  (And give thanks to the makers of the Amiga and Unix
  48. file systems for not creating this silly distinction between text
  49. and binary files.)
  50.  
  51. Hope this helps...
  52.  
  53. Charlie_Gibbs@mindlink.bc.ca
  54. I used to be indecisive, but now I'm not so sure.
  55.  
  56.